<%@ page pageEncoding="utf-8"%>
<%@ page import="java.util.*" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
<style>
	#id1{
	width:30%;
	height:100px;
	border:2px solid;
	}
</style>
<script src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript">
	function on(thisobj){
		$(thisobj).parent().find("td").prop("style","display:block");
	}
</script>
</head>
<body>
	<P>今天的锦鲤是:</P>
	<table id="id1">
	<tr>
	<td style="display:none">
	<%!String a[]={"谢","晨","越","郜"}; %>
	<%int b=new Random().nextInt(a.length); %>
	<%=a[b] %>
	</td>
	</tr>
	</table>
	<br/>
	<button onclick="on(this)">选人</button>

</body>
</html>